package com.gzx.plugin.tjzy.modular.project.belong.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import com.gzx.plugin.tjzy.modular.project.belong.entity.GzxProjectBelong;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * gzx_project_belong
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = GzxProjectBelong.class)
public class GzxProjectBelongVo implements Serializable, TransPojo {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 项目代码
     */
    private String projectCode;
    /**
     * 关联状态
     */
    private String belongStatus;

    @Trans(type = TransType.RPC, targetClassName = "vip.xiaonuo.sys.modular.user.entity.SysUser", fields = "name", alias = "userId", ref = "createUserName", serviceName = "snowy-web-app")
    private String userId;
    private String createUserName;

}
